package cn.itcast.tanhua.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * @author 张钊煌
 * @since 2021/12/6 18:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "sound")
public class Sound implements java.io.Serializable{
    private static final long serialVersionUID = -1221967890980968626L;

    private ObjectId id; //主键id
    private Long sid; //自增长id
    private Long userId;
    private String soundUrl; //语音文件
    private Long created; //创建时间
}
